import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'reset-css';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
// @ts-ignore
import MyButton from './components/MyButton.vue'
app.component('MyButton',MyButton)
import NoActionGoBack from './components/NoActionGoBack.vue'
app.component('NoActionGoBack',NoActionGoBack)
// import store from "@/store";
//app.use(ElementPlus).use(router).use(store).mount('#app')
import { createPinia } from 'pinia'
app.use(ElementPlus).use(router).use(createPinia()).mount('#app')
